<template>
  <div id="login-all">
    <el-container>
      <el-header>
        <div class="header_logo"></div>
        <el-row class="mb-4">
          <el-button>Default</el-button>
          <el-button @click="experience">体验MyEarth</el-button>
          <el-button>联系我们</el-button>
        </el-row>
      </el-header>
    </el-container>
    <div class="MyEarthIntroduction">
      <div class="login-cont">
        <div class="introduction-title">MyEarth</div>
        <div class="introdution">
          <div class="introduction-text">
            Here's the introduction of our product:
            <br /><br /><br />
            一键式遥感影像智能解译
            <br /><br /><br />
            全方位解锁空间地理信息
            <br /><br />
          </div>
          <!-- 按钮区域 -->
          <el-button class="to_login" @click="experience"
            >Experience MyEarth</el-button
          >
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'RsView',

  methods: {
    experience () {
      this.$router.push('/LoginView')
    }
  }
}
</script>

<style scoped>
#login-all {
  background-image: url(../assets/background.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  min-height: 100vh;
}

/* ------- HEADER ------- */
.el-header {
  /*  width: 100vw; */
  height: 55px;
  background-color: transparent;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}

.header_logo {
  width: 110px;
  height: 30px;
  margin-top: 15px;
  background: url(../assets/mylogo.svg);
}

.MyEarthIntroduction {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.login-cont {
  width: 1000px;
  height: 600px;
  background-color: rgba(240, 248, 255, 0.4);
  border-radius: 5px;
}

.introduction-title {
  text-align: center;
  color: rgb(29, 14, 63);
  font-size: 100px;
  padding-top: 10px;
  font-weight: bolder;
  font-family: "Courier New", Courier, monospace;
}

.introduction {
  width: 800px;
  height: 500px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  align-items: center;
}

.introduction-text {
  text-align: center;
  color: #564796;
  font-size: 40px;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
}

.to_login {
  /* width: 250px; */
  margin: 0 auto;
  height: 50px;
  display: flex;
  align-items: center;
  left: 50%;
  background-color: #221c44;
  color: aliceblue;
  font-size: large;
}
</style>
